
<!--
/**************************************************
* @ providerdetail.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/27, owen
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../common.jsp" %>

<html>
<head>
<title>供应商浏览</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="<%=root%>/css/caigouxitong.css" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<%
	GSProviderBean tGSProviderBean = (GSProviderBean)request.getAttribute("providerdetail");
	boolean isAudit = new GSProviderDAO().isAuditProvider(tGSProviderBean.getGs_provider_id());
%>
<script language="JavaScript">
	var counter;
	function process(option){
		if(option == 'P'){
			providerdetailform.action = "<%= response.encodeURL(request.getContextPath() + "/A200204.do") %>";
		
		}else if(option == 'F'){
			providerdetailform.action = "<%= response.encodeURL(request.getContextPath() + "/A200202.do") %>";
		}
		providerdetailform.submit();
	}
	
	function back(){
		window.close();
	}

</script>
</head>
<body BGCOLOR="#f2f2f2"	text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="providerdetailform" method="post" >
<p><br></p>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr height="20">
          <td height="20" width="1" class="mtxt_black">&nbsp;</td>
          <td height="30" width="758" class="mtxt_black">供应商详细信息</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bg_line" height="2"></td>
  </tr>
</table>
<br>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center width="20%">供应商编号</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=tGSProviderBean.getGs_provider_id()%></TD>					
					<TD class="bg_column" align=center width="20%">供应商简称</TD>
					<TD align=left class="bg_row_odd" width="30%"><%=tGSProviderBean.getGs_provider_shortname()%></TD>					
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center>供应商名称</TD>
					<TD align=left class="bg_row_odd"><%=tGSProviderBean.getGs_provider_name()%></TD>									
					<TD class="bg_column" align=center>供应商英文名称</TD>
					<TD align=left class="bg_row_odd">
						<%=tGSProviderBean.getGs_provider_engname() %>
					</TD>
				</TR>
				<tr>
					<TD class="bg_column" align=center>公司性质</TD>
					<TD align=left class="bg_row_odd" >
						<%=tGSProviderBean.getGs_corp_property()%>
					</TD>					
					<TD class="bg_column" align=center>信誉等级</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_credit_level() %>
					</TD>					
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center>经营地址</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_corp_addr() %>
					</TD>					
					<TD class="bg_column" align=center>邮政编码</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_corp_post() %>
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>负责人</TD>
					<TD align=left class="bg_row_odd">
						<%=tGSProviderBean.getGs_principal_id() %>
					</TD>					
					<TD class="bg_column" align=center>负责人电话</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_principal_phone() %>
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>联系人</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_contact_id() %>
					</TD>					
					<TD class="bg_column" align=center>联系人电话</TD>
					<TD align=left class="bg_row_odd">
					<%=tGSProviderBean.getGs_contact_phone() %>
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>所属国家</TD>
					<TD align=left class="bg_row_odd">
						<%=GSBaseManager.getCountryName(tGSProviderBean.getGs_reside_country()) %>
					</TD>					
					<TD class="bg_column" align=center>所属省份</TD>
					<TD align=left class="bg_row_odd">
						<%=GSBaseManager.getProvinceName(tGSProviderBean.getGs_reside_province()) %>					
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>所属城市</TD>
					<TD align=left class="bg_row_odd">
					
					<%=GSBaseManager.getDistrictName(tGSProviderBean.getGs_reside_city()) %>
						<%
						System.out.println(""+tGSProviderBean.getGs_reside_city());
						System.out.println("---"+GSBaseManager.getDistrictName(tGSProviderBean.getGs_reside_city()) );
						%>
						<%//=GSBaseManager.getDistrictName(tGSProviderBean.getGs_reside_city()) %>
					</TD>					
					<TD class="bg_column" align=center>主营行业</TD>
					<TD align=left class="bg_row_odd">
						<%=tGSProviderBean.getGs_work_trade() %>
					</TD>					
				</TR>				
				<TR height=20>
					<TD class="bg_column" align=center>主营产品</TD>
					<TD align=left class="bg_row_odd" colspan="3">
						<%=tGSProviderBean.getGs_work_manufacture() %>
					</TD>
				</TR>
				<TR height=20>					
					<TD class="bg_column" align=center>所属范围</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<%=tGSProviderBean.getGs_work_scope() %>
					</TD>					
				</TR>			
				<TR height=20>					
					<TD class="bg_column" align=center>有效性</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<%=GSBaseManager.getValidityName2(tGSProviderBean.getGs_validity()) %>
					</TD>					
				</TR>	
				<TR height=20>					
					<TD class="bg_column" align=center>是否审核类</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<%= isAudit ? "是" : "否"%>
					</TD>					
				</TR>																
			</table>
		</td>
	</tr>
</table>
</form>
    <p align="center">  
		<!-- <input type="image" src="images/button/dayin.gif" width="58" height="24" class="box" onclick="process('P')"/> -->&nbsp;
		<input type="button" class="kuang" value="关闭" onclick="return back();"/>&nbsp;		
    </p>
</body>
</html>